<%--
  Created by IntelliJ IDEA.
  User: 10665
  Date: 2025/1/12
  Time: 下午12:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>训练师档案修改</title>
    <link rel="stylesheet" href="css/registertrainer.css">
</head>
<body>
<div id="main-container">
    <div class="title-area">训练师档案修改</div>
    <form method="post" action="/untitled_war/updatetrainerServlet">
    <div class="input-section">
        <input type="hidden" id="pokemon-id" name="id" value="${trainer.id}">
        <div class="input-group">
            <label for="trainer-name" id="pokemon-information">姓名：</label>
            <input type="text" id="trainer-name" name="trainername" value="${trainer.name}">
        </div>
        <div class="input-group">
            <label for="trainer-name" id="pokemon-information">性别：</label>
            <input type="text" id="trainer-name" name="trainersex" value="${trainer.sex}">
        </div>
        <div class="input-group">
            <label for="trainer-age" id="pokemon-information">年龄：</label>
            <input type="text" id="trainer-age" name="trainerage" value="${trainer.age}">
        </div>
        <div class="input-group">
            <label for="trainer-region" id="pokemon-information">地区：</label>
            <input type="text" id="trainer-region" name="trainerarea" value="${trainer.area}">
        </div>
            <input type="submit" id="add-button" value="修改">

    </div>
    </form>
    <div class="image-container">
        <img src="imgs/registertrainer.png" alt="宝可梦图片">
    </div>
</div>
</body>
</html>
